﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAL;
using DTO;

namespace BLL
{
	public class HESOCONGVIECBUS
	{
		public static DataTable GetListHS(HESOCONGVIEC hs)
		{
			HESOCONGVIECDAO b = new HESOCONGVIECDAO();
			return b.GetListHS(hs);
		}
		public static List<HESOCONGVIEC> GetListHSs()
		{
			HESOCONGVIECDAO b = new HESOCONGVIECDAO();
			return b.GetListHSs();
		}
		public static String CreateNewID()
		{
			HESOCONGVIECDAO b = new HESOCONGVIECDAO();
			return b.CreatenewId();
		}
		public static bool INSERT(HESOCONGVIEC HS)
		{
			HESOCONGVIECDAO b = new HESOCONGVIECDAO();
			return b.INSERT(HS);
		}
		public static bool UPDATE(HESOCONGVIEC HS)
		{
			HESOCONGVIECDAO b = new HESOCONGVIECDAO();
			return b.UPDATE(HS);
		}
		public static bool DELETE(HESOCONGVIEC HS)
		{
			HESOCONGVIECDAO b = new HESOCONGVIECDAO();
			return b.DELETE(HS);
		}
		public static long GETIDDV(HESOCONGVIEC HS)
		{
			HESOCONGVIECDAO b = new HESOCONGVIECDAO();
			return b.GETIDDV(HS);
		}
	}
}
